package com.zzq.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.zzq.dao.UserMapper;
import com.zzq.pojo.User;
import com.zzq.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 幼儿猿大班
 * 2021/7/29
 */
@Service(interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User findUserByUserName(String username) {
        return userMapper.findUserByUserName(username);
    }
}
